package Listener;

import Controller.CtrlPwd;
import java.awt.event.*;

public class LIdentifyPwd implements ActionListener
{
	private CtrlPwd Ctrl;
	
	public LIdentifyPwd(CtrlPwd _control)
	{
		Ctrl = _control;
	}
	
	public void actionPerformed(ActionEvent e)
	{
		if(e.getActionCommand().equals("Ok"))
			Ctrl.checkPassword();
		else if(e.getActionCommand().equals("Annuler"))
			Ctrl.cancel();
	}
}

